package com.lhl.biz.template.api.shared.domain.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Past;
import java.time.LocalDate;

/**
 * @className: TemplateSearchVO
 * @description: 用来查询的VO
 * @author: king
 * @date: 2020-06-17 10:16
 **/
@Data
public class TemplateSearchVO {
    @NotBlank(message = "{required}")
    private String name;

    @Past(message = "{invalid}")
    private LocalDate birthday;
}
